﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XW.Core;

namespace XW.Data.SeedData
{
    public class SysMenuSeedData : ISeedDataEntity<SysMenu>
    {
        public List<SysMenu> GetSeedData()
        {
            return new List<SysMenu> {
                new SysMenu{ Id = 1, IsDelete = false, Url = "", Name="系统管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=0, Status = 0, Icon = "fa fa-address-book", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="Sys"},

                    new SysMenu{ Id = 10, IsDelete = false, Url = "Sys/User/List", Name="用户管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=1, Status = 0, Icon = "fa fa-window-maximize", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="SysUser"},
                    new SysMenu{ Id = 11, IsDelete = false, Url = "Sys/Menu/List", Name="菜单管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=1, Status = 0, Icon = "fa fa-window-maximize", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="SysMenu"},
                    new SysMenu{ Id = 12, IsDelete = false, Url = "Sys/Config/List", Name="配置管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=1, Status = 0, Icon = "fa fa-window-maximize", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="SysConfig"},



                new SysMenu{ Id = 2, IsDelete = false, Url = "", Name="常规管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=0, Status = 0, Icon = "fa fa-address-book", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="Nml"},

                new SysMenu{ Id = 3, IsDelete = false, Url = "", Name="组件管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=0, Status = 0, Icon = "fa fa-lemon-o", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="Com"},
                new SysMenu{ Id = 4, IsDelete = false, Url = "", Name="其它管理", Iframe = 0, IsShow = 1, MenuType =0, ParentId=0, Status = 0, Icon = "fa fa-slideshare", CreateTime = DateTime.Now, Remark="", UpdateTime = DateTime.Now,CreateUserId = 1, JsMethod="", UpdateUserId = 1, permission="Oth"},

           };
        }
    }
}
